/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package caintra.Sapra.ComponentsImplements;


import nextapp.echo2.app.Alignment;
import nextapp.echo2.app.Color;
import nextapp.echo2.app.Component;
import nextapp.echo2.app.Row;

/**
 *
 * @author Administrador
 */
public class RowCaintra extends Row{



    public RowCaintra(String key_msj,Component c2){
            Row r=new Row();
            r.add(new LabelCaintra(key_msj, Color.BLACK));
            r.setAlignment(Alignment.ALIGN_RIGHT);
            Row r2=new Row();
            r.add(c2);
            r.setAlignment(Alignment.ALIGN_LEFT);
            add(r);
            add(r2);
    }

}
